---
title: TableStyleElements Object (Excel)
keywords: vbaxl10.chm836072
f1_keywords:
- vbaxl10.chm836072
ms.prod: excel
api_name:
- Excel.TableStyleElements
ms.assetid: d8f29faa-039d-6820-028c-763ee2a2989b
ms.date: 06/08/2017
---


# TableStyleElements Object (Excel)

Represents table style elements.


## Remarks

Table styles define formatting for one or all of the elements of a table, PivotTable, or slicer. For example, a header row, last column, or total row are elements of a table and a table style can define that the fill color of the header row is blue, the last column is red. 

A table style element in a table can have formatting specified in a table style applied to the element.  **[XlTableStyleElementType](xltablestyleelementtype-enumeration-excel.md)** enumeration contains the types of table style element that are available for use.


## See also


#### Other resources



[Excel Object Model Reference](http://msdn.microsoft.com/library/11ea8598-8a20-92d5-f98b-0da04263bf2c%28Office.15%29.aspx)

